package com.jboost.modules.app.service.strategry.fhd;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.google.common.collect.Maps;
import com.jboost.modules.app.constant.Strategy;
import com.jboost.modules.app.service.strategry.common.AbstractJdy;
import com.jboost.modules.system.entity.BaseEntity;
import com.jboost.modules.system.entity.FhdBom;
import com.jboost.modules.system.mapper.FhdBomMapper;
import com.jboost.modules.system.mapper.FhdProductMapper;
import com.jboost.modules.system.mapper.HsMaterialNeedMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
@Slf4j
public abstract class AbstractFhd<T, V> extends AbstractJdy<T,V,FhdBomMapper, FhdBom>{

    @Autowired
    StringRedisTemplate redisTemplate;
    @Autowired
    FhdProductMapper fhdProductMapper;

    public HttpHeaders getJdyHeaders(){
        HttpHeaders jdyHeaders = new HttpHeaders();
        jdyHeaders.set("Authorization","Bearer "+ "q4l6qlhmwkxntFEhDePn8v0xHB43yvOW");
        return jdyHeaders;
    }

}
